<%= form_for(@profile, :url => [ @profile.subject, :profile ]) do |f| %>
  <%= f.text_field :tag_list, "data-path" => tags_path(format: :json) %>
  <%= f.submit %>
<% end %>